import request from '@/utils/request'

// 获取餐厅列表
export function getRestaurantList(params) {
  return request({
    url: '/api/restaurant/page',
    method: 'get',
    params
  })
}

// 获取餐厅详情
export function getRestaurantDetail(id) {
  return request({
    url: `/api/restaurant/${id}`,
    method: 'get'
  })
}
